//Francisco "Kiko" Olvera
//Artifacts spawn on tiles
//Artifacts are picked up by players
//Artifacts disappear when picked up
//Every artifact is paired with a card
//Artifact.h

#pragma once
#include "Material.h"
class Tile;
class Mesh;
//class Material;

class Artifact
{
private:
	Tile* tile;
	Mesh* mesh;
	Material* mat;
	bool taken;
	int texNum;
public:
	Artifact();
	void Init(int, Mesh*);
	void setTile(Tile*);
	void LoadTexture(char*);
	void Draw(float, float);
	void Take();

	void alterMatColors();
	D3DMATERIAL9 getMaterial();
};